<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String title = "系统管理";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<title><%=title %></title>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="${path}/common/component/eui/themes/gray/eui.css">
	<link rel="stylesheet" type="text/css" href="${path}/common/component/eui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${path}/skin/etb.css" />
	<link rel="stylesheet" type="text/css" href="${path}/skin/green/base.css" />
	<link rel="stylesheet" type="text/css" href="${path}/skin/green/default.css" />
	<script type="text/javascript" src="${path}/common/component/eui/jquery.min.js"></script>
	<script type="text/javascript" src="${path}/common/component/eui/jquery.collection.js"></script>
	<script type="text/javascript" src="${path}/common/component/eui/jquery.common.js"></script>
	<script type="text/javascript" src="${path}/common/component/eui/jquery.eui.min.js?${path}"></script>
	<script type="text/javascript" src="${path}/common/component/eui/locale/eui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="${path}/common/component/eui/extend/jquery.eui.extend.js"></script>
	<script type="text/javascript" src="${path}/common/component/eui/extend/jquery.validate.js"></script>
	<script type="text/javascript" src="${path}/common/component/eui/extend/jquery.dialog.js"></script>
</head>
<body class="eui-layout" id="system">
	<div data-options="region:'north',border:false" style="overflow:hidden;">
		<div class="header clearfix">
			<dl>
				<dt><a href="#"><img width="50px" height="50px" style="margin-left:30px" src="${path}/skin/green/images/logo2.png" /></a><span style="color:#fafaff;font-weight:bold;font-size:30px"><%=title %></span></dt>
				<dd><span>您好：${party.displayName}</span><a href="http://localhost:8081/logout?service=http://localhost:8080/wisdom/eframe/auth/index.jsp" target="_top" class="exit">退出</a></dd>
			</dl>
		</div>
	</div>
	<div data-options="region:'west',split:false,title:'隐藏菜单'," style="width:155px;" id="leftmenu">
		<div class="sidebar left-menu">
			<ul class="menu">
				<li>
					<dl id="firstDL">
						<dt><a href="javascript:void(0)" url="${path}/eframe/framework/application/main.ftl">应用功能管理</a></dt>
					</dl>
					<dl>
						<dt><a href="javascript:void(0)" url="${path}/eframe/framework/menu/main.ftl">菜单管理</a></dt>
					</dl>
					<dl>
						<dt><a href="javascript:void(0)" url="${path}/eframe/dict/type/main.ftl">字典管理</a></dt>
					</dl>
				</li>
			</ul>
		</div>
	</div>
	<div data-options="region:'center',href:'${path}/eframe/framework/application/main.ftl'" style="padding:5px" id="workspace">
	</div>
	<div data-options="region:'south',border:false" class="footer">版权信息</div>
</body>

<script>
eui.ajax({
	url: '${path}/auth!getMenuData.action',
	success: function(data) {
	}
});

$(".menu").find("dl").click(function() {
	$(".menu").find("dl").removeClass("current");
	$(this).addClass("current");
});

$(".menu").find("dd").click(function() {
	$(".menu").find("dd").removeClass("ddcurrent");
	$(this).addClass("ddcurrent");
});

$(".menu").find("a").click(function(){
	if($(this).attr("url")) {
		$('#workspace').panel('refresh', $(this).attr("url"));
	}
});
$("#firstDL").click();

function addPanel(){
	$('#system').layout('show','leftmenu');  
}
function removePanel(){
	$('#system').layout('hidden','leftmenu');  
}

$.parser.auto=true;

</script>
</html>